; Ручная противопехотная граната наступательного типа РГД-5
;-(TrickSR)-----------------------------------------
; общий все гранаты с запалом 		400 гр
; заряд ВВ - тротил 				110
; возможная дальность броска		40-50 м
; разлет осколков					25 м
; задержка перед взрывом 			3.5 - 4.5 сек
;---------------------------------------------------
[grenade_rgd5]:weapon_probability,default_weapon_params,delayed_action_fuse,grenade_rgd5_sounds
GroupControlSection					= spawn_group
discovery_dependency				=
$spawn 								= "weapons\grenades\rgd5"
$prefetch							= 128
cform								= skeleton
class								= G_RGD5_S
description							= st_grenade_rgd5_descr

ef_weapon_type						= 4

default_to_ruck						= false
sprint_allowed						= true

min_radius							= 10					; [] for AI
max_radius							= 50					; [] for AI

;-------------------------------------------------------------------------------
inv_name							= st_grenade_rgd5
inv_name_short						= st_grenade_rgd5
        kind                        = w_explosive
tier									 = 2

inv_grid_width     = 1
inv_grid_height    = 1
inv_grid_x         = 5
inv_grid_y         = 7

upgr_icon_x			= 918
upgr_icon_y			= 857
upgr_icon_width		= 68
upgr_icon_height   	= 128

kill_msg_x							= 240
kill_msg_y							= 123
kill_msg_width						= 14
kill_msg_height						= 23

;-DOF---------------------------------------------------------------------------
zoom_dof							= 0.5, 1.0, 180
reload_dof							= 0.0, 0.5, 5, 1.7

;-------------------------------------------------------------------------------
cost								= 200
weapon_class						=
inv_weight							= 0.4
hud									= grenade_rgd5_hud
visual								= dynamics\weapons\wpn_grenades\wpn_rgd5.ogf

slot								= 3
animation_slot						= 7
single_handed						= 1

force_min							= 10					; ~30% от максимума
force_const							= 25
force_max							= 30
force_grow_speed					= 20
        destroy_time                = 2500
        grenade_remove_time         = 60000
        detonation_threshold_hit    = 200
		
;-------------------------------------------------------------------------------
blast								= 2
blast_r								= 4
blast_impulse						= 240

frags								= 100
frags_r								= 7.78
frag_hit							= 0.50
frag_hit_impulse					= 100
frag_ap								= 0.46

hit_type_blast						= explosion
hit_type_frag						= fire_wound

up_throw_factor						= 1.2

;-------------------------------------------------------------------------------
explode_particles					= explosions\explosion_01

light_color							= 1.9,1.4,0.5
light_range							= 14.0
light_time 							= 0.85

;-трассы от осколков------------------------------------------------------------
fragment_speed						= 200
explode_duration					= 3						; подолжительность взрыва (с)

attach_position_offset				= -0.053,-0.089,0.0
attach_angle_offset					=  0.000000,  0.000000,  0.000000
attach_bone_name					=

// should be deleted after update
bone_name							= bip01_r_hand
position_offset						= 0.0, 0.0, 0.0
angle_offset						= 1.570790,1.570790,3.92699

throw_point							= 0.4, 0.3, 0.1
throw_dir							= 0,0,1

wm_size								= 0.5

wallmark_section					= explosion_marks

[grenade_rgd5_hud]:hud_base
fire_point				= 0,0,0
fire_bone				= wpn_body

attach_place_idx		= 0
item_visual				= dynamics\weapons\wpn_grenades\wpn_rgd5_hud.ogf

hands_position			= -0.061000,-0.160000,0.002500
hands_orientation		= -0.500000,1.000000,-2.000000
hands_position_16x9		= -0.096500,-0.163000,0.039000
hands_orientation_16x9	= -4.399999,1.000000,-2.000000

item_position = -0.001000,0.004000,0.000000
item_orientation = 18.500000,1.500000,0.000000

aim_hud_offset_pos		= 0,0,0
aim_hud_offset_rot		= 0,0,0
gl_hud_offset_pos		= 0,0,0
gl_hud_offset_rot		= 0,0,0

lean_hud_offset_pos		= 0,0,0
lean_hud_offset_rot		= 0,0,0

anm_show				= lancew_rgd5_draw
anm_hide				= lancew_rgd5_holster
anm_idle				= lancew_rgd5_idle
anm_bore				= lancew_rgd5_no_reload
anm_idle_moving			= lancew_rgd5_moving, moving
anm_idle_sprint			= lancew_rgd5_sprint, sprint

anm_throw_begin			= lancew_rgd5_throw_begin, begin
anm_throw_idle			= lancew_rgd5_throw_idle, throw_idle
anm_throw				= lancew_f1_throw

throw_point						= 0.0,0.4,0.3
throw_dir						= 0,0,1
third_person_throw_point_offset = -0.05,0.848,0.706